package com.example.api.service;

import com.example.api.dto.FoodDTO;
import com.example.api.query.FoodQuery;
import com.example.api.utils.PageResult;
import com.example.api.vo.FoodVO;

public interface FoodService {
    PageResult<FoodVO> find(FoodQuery foodQuery);

    void add(FoodDTO foodDTO);

    FoodVO findById(long id);

    void update(long id, FoodDTO foodDTO);

//    void deleteById(long id);

    void updateStatus(long id, Byte status);

    int findCountByCategoryId(long categoryId);
}
